package com.kang.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kang.entity.BookMark;
import com.kang.entity.Essay;
import com.kang.vo.ParamInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface BookMarkService extends IService<BookMark> {
    Integer insertBookMark(HttpServletRequest request,Integer essayId) throws Exception;

    Integer updateBookMark(HttpServletRequest request, Integer essayId) throws Exception;

    Page<Essay> getBookMarkList(ParamInfo paramInfo) throws Exception;
}
